#include "server.hpp"
#include "client.hpp"

int main(int argc, char* argv[])
{
    if (argc != 3)
    {
        std::cout << "./udp.out IP port" << std::endl;
        exit(1);
    }

    std::string IP(argv[1]);
    uint16_t port = (uint16_t)atoi(argv[2]);

    Server_UDP server(IP, port);
    server.receive();
    
    return 0;
}